package com.bean;

import java.util.Date;
import javax.persistence.*;
//答题记录
public class KillNode {
    @Id
    private Integer id;

    @Column(name = "personId")
    private String personid;

    @Column(name = "answerDate")
    private Date answerdate;

    private Integer score;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return personId
     */
    public String getPersonid() {
        return personid;
    }

    /**
     * @param personid
     */
    public void setPersonid(String personid) {
        this.personid = personid == null ? null : personid.trim();
    }

    /**
     * @return answerDate
     */
    public Date getAnswerdate() {
        return answerdate;
    }

    /**
     * @param answerdate
     */
    public void setAnswerdate(Date answerdate) {
        this.answerdate = answerdate;
    }

    /**
     * @return score
     */
    public Integer getScore() {
        return score;
    }

    /**
     * @param score
     */
    public void setScore(Integer score) {
        this.score = score;
    }
}